package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Value;

import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author 最爱喝兽奶
 * @create 2022/9/21
 **/
@TableName(value = "T_NOTICE")
@Data
public class Notice implements Serializable {

    /**
     * id
     */
    @TableId
    private String id;

    /**
     * 告示的标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 告示的创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 告示的展示顺序
     */
    @TableField(value = "sort")
    private Integer sort;

    /**
     * 告示的内容
     */
    @TableField(value = "context")
    private String context;
}
